package com.yaorange.guild.association.service.impl;

import com.yaorange.guild.association.entity.Association;
import com.yaorange.guild.association.mapper.AssociationMapper;
import com.yaorange.guild.association.service.AssociationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 15332
 * @version 1.0
 * @date 2025/6/23 17:26
 * @description 协会信息业务层
 */
@Service
public class AssociationServiceImpl implements AssociationService {
  @Autowired
  private AssociationMapper mapper;
  @Override
  public Association selectAssociation() {
    return mapper.selectList();
  }

  @Override
  public void update(Association association) {
    mapper.updateList(association);
  }
}
